package com.liuluo.homework1025hou.service;

import com.liuluo.homework1025hou.domain.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liuluo.homework1025hou.domain.Customer

/**
* @author liulu
* @description 针对表【student】的数据库操作Service
* @createDate 2025-02-24 09:58:46
*/
interface StudentService : IService<Student> {
    fun getAll(): List<Student>
    fun add(student: Student):Int
    fun delete(id:Int):Int
    fun update(student: Student):Int
    fun getOneById(id:Int): List<Student>
    fun getOneByName(name:String): List<Student>
    fun selectByCondition(id: Int,name:String):List<Student>
}
